package com.ph.shopping.facade.member.service.dbservice.facade;

import com.ph.shopping.common.util.page.PageBean;
import com.ph.shopping.common.util.result.Result;
import com.ph.shopping.facade.member.dto.CheckMemberAuthDto;
import com.ph.shopping.facade.member.dto.MemberAuthDto;
import com.ph.shopping.facade.member.dto.QueryMemberAuthDto;
import com.ph.shopping.facade.member.entity.MemberAuth;

public interface IMemberAuthDbService {

	/**
     * 推广师申请
     * @param memberAuthDto
     * @return
     */
    Result apply(MemberAuthDto memberAuthDto);

    /**
     * 审核推广师
     * @param checkMemberAuthDto
     * @return
     */
    Result check(CheckMemberAuthDto checkMemberAuthDto);
    
    /**
	 * 
	* @Title: getMemberAuthListByPage  
	* @Description: 分页获取推广师列表
	* @param queryMemberAuthDto
	* @param page
	* @return Result    返回类型  
	* @throws
	 */
	Result getMemberAuthListByPage(PageBean page,QueryMemberAuthDto queryMemberAuthDto);
	
	/**
	 * 
	* @Title: getMemberAuthListByPage  
	* @Description: 获取推广师集合
	* @param queryMemberAuthDto
	* @return Result    返回类型  
	* @throws
	 */
	Result getMemberAuthList(QueryMemberAuthDto queryMemberAuthDto);
	
	 /**
     * 删除推广师
     * @param memberAuth
     * @return
     */
	Result deleteMemAuthByMemId(MemberAuth memberAuth);
	/**
	 * 
	 * @Title: queryMemberAuthInfo   
	 * @Description: 获取推广师认证信息  
	 * @param: @param memberId
	 * @param: @return      
	 * @return: Result      
	 * @throws
	 */
	Result queryMemberAuthInfo(Long memberId);
}
